PCIe Topology.png

Hierarchy:

CPU

The CPU is at the top of the PCIe hierarchy.
PCIe uses a tree topology (inverted tree), meaning:

This is done so that configuration software (BIOS, OS, drivers) can still work the same way as it did with PCI — it expects to find devices by walking a simple tree structure.


Root Complex (RC)

Think of the Root Complex as the big translator between the CPU and the PCIe world.


Switches


Bridges

Bridges are translators between PCIe and other bus types:


Endpoints (Devices)

Endpoints are the actual devices (network cards, GPUs, SSDs, etc.) that do useful work.


🔑 Summary Table

Component Role Ports
Root Complex Interface between CPU & PCIe Root Ports (Upstream start point)
Switch Expands connectivity, routes packets 1 Upstream + multiple Downstream
Bridge Connects PCIe to PCI/PCI-X or another PCIe bus 1 Upstream + 1+ Downstream
Endpoint Actual device (initiator/completer of transactions) 1 Upstream only